a=int(input())
b=int(input())
if a<b:
    print("B is bigger than A")
elif a==b:
    print("A is as big as B")
else:
    print("A is bigger than B")